import Vue from 'vue'
import Vuex from 'vuex'
import createP from 'vuex-persistedstate'
import user from "./modules/user"
import car from './modules/car'
import order from "./modules/order"
Vue.use(Vuex)

export default new Vuex.Store({
    state: {},
    mutations: {},
    actions: {},
    modules: {
        car,
        user,
        order
    },
    plugins: [new createP()]
})